package cn.tedu.ou;

import org.springframework.stereotype.Component;

// 将方天画戟保存到Spring容器中
@Component
public class SkyLance implements  Weapon {
    private String name="方天画戟";

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
